package com.hebeu.device.service;

import com.hebeu.device.pojo.DUserRole;

import java.util.List;

public interface RoleService {

    //查询
    List<DUserRole> getRole(DUserRole dUserRole);
    //添加角色
    int addRole(DUserRole dUserRole);
    //删除用户
    int delRole(DUserRole dUserRole);
    //修改信息
    int  updateRole(DUserRole dUserRole);

    //通过id查询
    DUserRole getRoleById(int rId);
    //展示所有
    List<DUserRole> getAllRole(DUserRole dUserRole);
}
